When I go to click it gives me the wrong array position